package tech.heptagram.staff.exception;

/**
 * 常量转换枚举异常类
 *
 * @author Zi Lai Ye
 * @date 2017/5/3
 * @see EnumConstantNotPresentException
 */
public class EnumParseException extends RuntimeException {
    private static final long serialVersionUID = -7724204676626863680L;

    public EnumParseException() {}

    public EnumParseException(Class<? extends Enum> enumType, String constantName) {
        super(new EnumConstantNotPresentException(enumType, constantName));
    }
}
